package com.movies.service.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;


@TableName(value ="t_comment")
@Data
public class Comment {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long uid;
    private String uname;
    private Long mid;
    private String mname;
    private Long tid;
    private BigDecimal score;
    private String content;
    private Date cotime;
    private Date createdAt;
    private Date updatedAt;
}